package com.cl.service;


import com.cl.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    /**
     * 注册用户
     * @param email
     * @param pwd
     * @return
     */
    int register(String email,String pwd);

    /**
     * 验证用户是否注册
     * @param email
     * @return
     */
    User queryByEmail(String email);

    /**
     * 修改密码
     * @param email
     * @return
     */
    int modifyPwd(String email,String newPwd);

    /**
     * 查询今天预约的用户邮箱
     * @param today
     * @return
     */
    List<String> queryToday(String today);
}
